/*
 * ACourseRegistrationDecorator.cpp
 *
 *  Created on: 1 May 2010
 *      Author: Savramis Sartios
 */

#include "ACourseRegistrationDecorator.h"

ACourseRegistrationDecorator::ACourseRegistrationDecorator(ICourseRegistration * registration){
	setRegistration(registration);
}

ACourseRegistrationDecorator::~ACourseRegistrationDecorator() {
	delete registration_;
}

void	ACourseRegistrationDecorator::setRegistration(ICourseRegistration *registration){
	if(0!=registration){
		registration_=registration;
	}
}
